package com.kkd.kkdapp.receiver;

import com.kkd.kkdapp.activity.HomeActivity;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class NotificationReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		Intent mIntent =new Intent(context,HomeActivity.class);
		mIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP
				| Intent.FLAG_ACTIVITY_NEW_TASK);
		mIntent.putExtra("account", "yes");
		context.startActivity(mIntent);
	}

}
